package com.aaa.web.dao.secondcardao;

import com.aaa.entity.secondcar.SecondCarDetailMessage;
import com.aaa.entity.secondcar.SecondCarRelatedMessage;
import com.aaa.web.commons.SecondCarVerifyQuery;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;


/**
 * @ClassName SecondCarverifyDao
 * @Description 二手车认证页面
 * @Author 许一鑫
 * @Date
 **/
@Mapper
@Component
public interface SecondCarverifyDao {
    /**查询所有二手车相关信息展现在认证信息栏*/
    List<SecondCarRelatedMessage> getSecondCarRelatedMessage(SecondCarVerifyQuery query);
    /**查询所有二手车相关信息的条数
     * @param query*/
    Integer getSecondCarRelatedCount(SecondCarVerifyQuery query);
    /**二手车认证的详情表单*/
    List<SecondCarDetailMessage> getSecondCarDetailMessage(SecondCarRelatedMessage s);
    /**二手车门店认证*/
    void verifySecondCar(SecondCarDetailMessage s);
    /**取消二手车门店认证*/
    void cancelVerification(SecondCarRelatedMessage s);
    /**删除二手车信息*/
    void deleteSecondCarMessage(SecondCarRelatedMessage s);
}
